var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', (req, res, next) => {
    // res.redirect('/swagger')
    res.render('index', {
        title: 'CURD'
    })
});

/* GET login page. */
router.get('/login', (req, res, next) => {
    // res.redirect('/swagger')
    res.render('login', {
        title: 'Login'
    })
});

module.exports = router;
